
public class FrenchPhoneNumber implements PhoneNumber{
	private String phoneNumber;
	public FrenchPhoneNumber(String n){
		if(n.length()==10){
			this.phoneNumber=n;
		}
		
	}
	public String getPhoneNumber()
	{
		return this.phoneNumber;
	}
	public String toString()
	{
		return this.phoneNumber;
	}
	}



